#ifndef MCHARACTER_H
#define MCHARACTER_H

#include <QObject>
#include <QTcpSocket>

class MCharacter : public QObject
{
    Q_OBJECT
    private:
        QString id;
        QString username;
        QString map_ip;
        QString map_port;
        QString map_name;
        QString exp;
        QString level;
        QString bonus;
        QString x;
        QString y;
        QString direction;
        QTcpSocket *socket;

    public:
        MCharacter();
        ~MCharacter();

        // Getters
        QString get_id();
        QString get_username();
        QString get_map_ip();
        QString get_map_port();
        QString get_map_name();
        QString get_exp();
        QString get_level();
        QString get_bonus();
        QString get_x();
        QString get_y();
        QString get_direction();
        QTcpSocket* get_socket();

        // Setters
        void set_id(QString id);
        void set_username(QString username);
        void set_map_ip(QString ip);
        void set_map_port(QString map_port);
        void set_map_name(QString map_name);
        void set_exp(QString exp);
        void set_level(QString level);
        void set_bonus(QString bonus);
        void set_x(QString x);
        void set_y(QString y);
        void set_direction(QString direction);
        void set_socket(QTcpSocket* socket);

};

#endif // MCHARACTER_H
